package com.lagou.demo.service;

import com.lagou.demo.dao.ClassesDao;
import com.lagou.demo.dao.LoginDao;
import com.lagou.demo.pojo.User;

/**
 * 自定义LoginServiceService调用LoginDao的实现类实现登陆方法
 */
public class LoginService {
    private LoginDao loginDao;
    public boolean login(User user){
        boolean login = loginDao.login(user);
        return login;
    }
}
